package com.teamall.web.base.db.po;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.StringUtils;

import com.teamall.framework.dto.AbstractDto;

public class TownInfoPO extends AbstractDto {
    private Integer townId;
    private String townName;
    private String townDesc;
    private String aidLeadingUnit;
    private Integer allPop;
    private Integer residentPop;
    private String provinceCode;
    private String cityCode;
    private String countryCode;
    private List<VillageInfoPO> villageInfoPOList = new ArrayList<VillageInfoPO>();

    public List<VillageInfoPO> getVillageInfoPOList() {
        return villageInfoPOList;
    }

    public void setVillageInfoPOList(List<VillageInfoPO> villageInfoPOList) {
        this.villageInfoPOList = villageInfoPOList;
    }

    public Integer getTownId() {
        return townId;
    }

    public void setTownId(Integer townId) {
        this.townId = townId;
    }


    public String getTownName() {
        return StringUtils.isBlank(townName) ? townName : townName.trim();
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }


    public String getTownDesc() {
        return StringUtils.isBlank(townDesc) ? townDesc : townDesc.trim();
    }

    public void setTownDesc(String townDesc) {
        this.townDesc = townDesc;
    }


    public String getAidLeadingUnit() {
        return StringUtils.isBlank(aidLeadingUnit) ? aidLeadingUnit : aidLeadingUnit.trim();
    }

    public void setAidLeadingUnit(String aidLeadingUnit) {
        this.aidLeadingUnit = aidLeadingUnit;
    }


    public Integer getAllPop() {
        return allPop;
    }

    public void setAllPop(Integer allPop) {
        this.allPop = allPop;
    }


    public Integer getResidentPop() {
        return residentPop;
    }

    public void setResidentPop(Integer residentPop) {
        this.residentPop = residentPop;
    }


    public String getProvinceCode() {
        return StringUtils.isBlank(provinceCode) ? provinceCode : provinceCode.trim();
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }


    public String getCityCode() {
        return StringUtils.isBlank(cityCode) ? cityCode : cityCode.trim();
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }


    public String getCountryCode() {
        return StringUtils.isBlank(countryCode) ? countryCode : countryCode.trim();
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }


}